]> dgit.raspbian.org Git - gnome-shell.git/commit
boxpointer: Avoid malformed boxpointer arrow
authorDebarshi Ray <debarshir@gnome.org>
Sat, 1 Sep 2012 14:42:50 +0000 (16:42 +0200)
committerDebarshi Ray <debarshir@gnome.org>
Thu, 6 Sep 2012 18:56:04 +0000 (20:56 +0200)
commit00f15c10754fc327802fdec9318b8a07491df7b4
treebb2c1c7c09a7f3a83fc0a741b0823ea3d877740c
parent19f92df8ab805708304c805c25fb1234f6138b1f
boxpointer: Avoid malformed boxpointer arrow

If the arrow's origin is so close to the edge that the arrow will not
be isosceles, we try to compensate as follows:
  - We skip the rounded corner and settle for a right angled arrow as
    as shown below.
    |\_____
    |
    |
  - If the arrow was going to be acute angled, we move the position of
    the box to maintain the arrow's accuracy.

https://bugzilla.gnome.org/show_bug.cgi?id=680077
js/ui/boxpointer.js